// swift-tools-version:5.9
import PackageDescription

let package = Package(
    name: "XrayKit",
    platforms: [.iOS(.v13)],
    products: [
        .library(
            name: "XrayKit",
            targets: ["XrayKit"]
        ),
    ],
    dependencies: [],
    targets: [
        // 🔹 关键：从 URL 引入 .xcframework.zip
        .binaryTarget(
            name: "XrayKit", // 目标名称（供其他 Target 依赖）
            url: "https://github.com/hxhsea/xraykit/releases/download/ralse/XrayKit.xcframework.zip",
            checksum: "541f9bf3f1b79f5c9f88899eab5f47c021ef7f0aa52c4373d9cb9cb236407afc" // 替换为实际的 checksum
        ),
        
     
    ]
)